package com.gxa.p2p.mapper;

import com.gxa.p2p.pojo.Borrowuser;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface BorrowuserMapper {
    Borrowuser selectById(Long id);
    Boolean add(Borrowuser borrowuser);
    void updatePwd(Long id,String loginPwd,String dealPwd);
    List<Map<String,Object>> findByName(String companyName,String legalName);
    List<Map<String,Object>> findByPage(String companyName, String phone, Boolean lockState, Integer page,Integer size);
    void updateBorrowuser(Borrowuser borrowuser);
}
